package com.weipeep.sys.query;

import com.baomidou.mybatisplus.plugins.Page;
import com.weipeep.sys.vo.UserProductVo;

import java.math.BigDecimal;

public class UserProductQuery extends PageQuery{
    /** 种类 */
    private String productType;
    /** 型号 */
    private String productModel;
    /** 二级型号 */
    private String secondModel;
    /** 直径 */
    private BigDecimal diameter;
    /** 长度 */
    private BigDecimal length;
    /** 宽度 */
    private BigDecimal width;
    /** 厚度 */
    private BigDecimal thickness;
    /** 密度 */
    private BigDecimal density;
    private Integer auditStatus;
    public UserProductQuery(UserProductVo userProduct) {
        if (userProduct!=null){
            this.setProductType(userProduct.getProductType());
            this.setProductModel(userProduct.getProductModel());
            this.setSecondModel(userProduct.getSecondModel());
            this.setDensity(userProduct.getDensity());
            this.setDiameter(userProduct.getDiameter());
            this.setLength(userProduct.getLength());
            this.setWidth(userProduct.getWidth());
            this.setThickness(userProduct.getThickness());
        }
    }

    private Long userId;

    public UserProductQuery() {
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }

    public String getProductModel() {
        return productModel;
    }

    public void setProductModel(String productModel) {
        this.productModel = productModel;
    }

    public String getSecondModel() {
        return secondModel;
    }

    public void setSecondModel(String secondModel) {
        this.secondModel = secondModel;
    }

    public BigDecimal getDiameter() {
        return diameter;
    }

    public void setDiameter(BigDecimal diameter) {
        this.diameter = diameter;
    }

    public BigDecimal getLength() {
        return length;
    }

    public void setLength(BigDecimal length) {
        this.length = length;
    }

    public BigDecimal getWidth() {
        return width;
    }

    public void setWidth(BigDecimal width) {
        this.width = width;
    }

    public BigDecimal getThickness() {
        return thickness;
    }

    public void setThickness(BigDecimal thickness) {
        this.thickness = thickness;
    }

    public BigDecimal getDensity() {
        return density;
    }

    public void setDensity(BigDecimal density) {
        this.density = density;
    }

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public Long getUserId() {
        return userId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }

}
